<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<DecisionMaking.BusinessLogic.Model.UpdateAccountModel>" MasterPageFile="~/Views/Shared/Site.Master" %>
<asp:Content runat="server" ID="Content1" ContentPlaceHolderID="TitleContent">Edit Profile</asp:Content>
<asp:Content runat="server" ID="Content3" ContentPlaceHolderID="MainContent">
    <%= Html.ValidationSummary("Profile save was unsuccessful. Please correct the errors and try again.") %>

    <% using (Html.BeginForm("Save", "Account"))
       {%>
        <fieldset>
            <legend>Edit Profile</legend>
            <p class="field-multi-line field-textbox">
                <%=Html.LabelFor(m => m.FirstName) %>
                <%=Html.TextBoxFor(m => m.FirstName) %>
                <%=Html.ValidationMessageFor(m => m.FirstName) %>
            </p>
            <p class="field-multi-line field-textbox">
                <%=Html.LabelFor(m => m.LastName) %>
                <%=Html.TextBoxFor(m => m.LastName) %>
                <%=Html.ValidationMessageFor(m => m.LastName) %>
            </p>
            <p class="field-multi-line field-textbox">
                <%=Html.LabelFor(m => m.Email) %>
                <%=Html.TextBoxFor(m => m.Email)%>
                <%=Html.ValidationMessageFor(m => m.Email)%>
            </p>
            <p class="field-multi-line field-textarea">
                <%=Html.LabelFor(m => m.Bio) %>
                <%=Html.TextAreaFor(m => m.Bio)%>
                <%=Html.ValidationMessageFor(m => m.Bio)%>
            </p>
            <input type="submit" value="Update" />
        </fieldset>
    <% } %>
</asp:Content>
